<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>标签数据库DLL的api: MyDLL.MySqlite类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="97d3044f78f0f736334972ef0455b319e9c413db.jpg"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">标签数据库DLL的api
   &#160;<span id="projectnumber">v0.0.0.1</span>
   </div>
   <div id="projectbrief">使用doxygen导出，api见“类-类列表-MyDLL-MySqlite”</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.15 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',false,false,'search.php','搜索');
});
/* @license-end */</script>
<div id="main-nav"></div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespace_my_d_l_l.html">MyDLL</a></li><li class="navelem"><a class="el" href="class_my_d_l_l_1_1_my_sqlite.html">MySqlite</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pub-attribs">Public 属性</a> &#124;
<a href="class_my_d_l_l_1_1_my_sqlite-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">MyDLL.MySqlite类 参考</div>  </div>
</div><!--header-->
<div class="contents">

<p>标签数据库管理类  
 <a href="class_my_d_l_l_1_1_my_sqlite.html#details">更多...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a082607cea44df8e6d01bc1dd14937eff"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_my_d_l_l_1_1_my_sqlite.html#a082607cea44df8e6d01bc1dd14937eff">Create_Open_DB</a> (string <a class="el" href="class_my_d_l_l_1_1_my_sqlite.html#a60bbf241da8adf0d92b796a91afa67b6">DB_Path</a>)</td></tr>
<tr class="memdesc:a082607cea44df8e6d01bc1dd14937eff"><td class="mdescLeft">&#160;</td><td class="mdescRight">创建并打开数据库  <a href="#a082607cea44df8e6d01bc1dd14937eff">更多...</a><br /></td></tr>
<tr class="separator:a082607cea44df8e6d01bc1dd14937eff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aca7aa8b0f7f5889ee30312777e5e0be8"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_my_d_l_l_1_1_my_sqlite.html#aca7aa8b0f7f5889ee30312777e5e0be8">Open_DB</a> (string <a class="el" href="class_my_d_l_l_1_1_my_sqlite.html#a60bbf241da8adf0d92b796a91afa67b6">DB_Path</a>)</td></tr>
<tr class="memdesc:aca7aa8b0f7f5889ee30312777e5e0be8"><td class="mdescLeft">&#160;</td><td class="mdescRight">打开数据库  <a href="#aca7aa8b0f7f5889ee30312777e5e0be8">更多...</a><br /></td></tr>
<tr class="separator:aca7aa8b0f7f5889ee30312777e5e0be8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aab5ff1162f098a2a71535fb1f78f104b"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_my_d_l_l_1_1_my_sqlite.html#aab5ff1162f098a2a71535fb1f78f104b">Clear_DB</a> ()</td></tr>
<tr class="memdesc:aab5ff1162f098a2a71535fb1f78f104b"><td class="mdescLeft">&#160;</td><td class="mdescRight">清空数据库中的全部数据  <a href="#aab5ff1162f098a2a71535fb1f78f104b">更多...</a><br /></td></tr>
<tr class="separator:aab5ff1162f098a2a71535fb1f78f104b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1bdfba4f31b915c246071a52fad3d9b3"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_my_d_l_l_1_1_my_sqlite.html#a1bdfba4f31b915c246071a52fad3d9b3">Close_DB</a> ()</td></tr>
<tr class="memdesc:a1bdfba4f31b915c246071a52fad3d9b3"><td class="mdescLeft">&#160;</td><td class="mdescRight">关闭数据库  <a href="#a1bdfba4f31b915c246071a52fad3d9b3">更多...</a><br /></td></tr>
<tr class="separator:a1bdfba4f31b915c246071a52fad3d9b3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a73334dbceccbc1327d7672a47580686d"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_my_d_l_l_1_1_my_sqlite.html#a73334dbceccbc1327d7672a47580686d">Add_Target</a> (string Name, string Comment)</td></tr>
<tr class="memdesc:a73334dbceccbc1327d7672a47580686d"><td class="mdescLeft">&#160;</td><td class="mdescRight">添加一条Target记录  <a href="#a73334dbceccbc1327d7672a47580686d">更多...</a><br /></td></tr>
<tr class="separator:a73334dbceccbc1327d7672a47580686d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3ac3db3759b3a0739ac2a80d9aa81b67"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_my_d_l_l_1_1_my_sqlite.html#a3ac3db3759b3a0739ac2a80d9aa81b67">Delete_Target_by_Name</a> (string Name)</td></tr>
<tr class="memdesc:a3ac3db3759b3a0739ac2a80d9aa81b67"><td class="mdescLeft">&#160;</td><td class="mdescRight">删除一条Target记录  <a href="#a3ac3db3759b3a0739ac2a80d9aa81b67">更多...</a><br /></td></tr>
<tr class="separator:a3ac3db3759b3a0739ac2a80d9aa81b67"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3dddce5007cc2b941875df19bf29d092"><td class="memItemLeft" align="right" valign="top"><a id="a3dddce5007cc2b941875df19bf29d092"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>Update_Target</b> (string Target_Name, string New_Comment)</td></tr>
<tr class="separator:a3dddce5007cc2b941875df19bf29d092"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adc338161fdc7b4d09396708bccd3e2d4"><td class="memItemLeft" align="right" valign="top"><a id="adc338161fdc7b4d09396708bccd3e2d4"></a>
string&#160;</td><td class="memItemRight" valign="bottom"><b>Get_Target_Comment</b> (string Target_Name)</td></tr>
<tr class="separator:adc338161fdc7b4d09396708bccd3e2d4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab1164694b8ebf2f26ac9a2c0370e0e3d"><td class="memItemLeft" align="right" valign="top"><a id="ab1164694b8ebf2f26ac9a2c0370e0e3d"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>Target_is_Exist</b> (string Target_Name)</td></tr>
<tr class="separator:ab1164694b8ebf2f26ac9a2c0370e0e3d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7fb86a3d95ba7f52c171f681dcbe960f"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_my_d_l_l_1_1_my_sqlite.html#a7fb86a3d95ba7f52c171f681dcbe960f">Add_Tag</a> (string Tag_Name, string Comment)</td></tr>
<tr class="memdesc:a7fb86a3d95ba7f52c171f681dcbe960f"><td class="mdescLeft">&#160;</td><td class="mdescRight">添加标签  <a href="#a7fb86a3d95ba7f52c171f681dcbe960f">更多...</a><br /></td></tr>
<tr class="separator:a7fb86a3d95ba7f52c171f681dcbe960f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a60a273750ddad6a8e1fc4bff31957663"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_my_d_l_l_1_1_my_sqlite.html#a60a273750ddad6a8e1fc4bff31957663">Delete_Tag</a> (string Tag_Name)</td></tr>
<tr class="memdesc:a60a273750ddad6a8e1fc4bff31957663"><td class="mdescLeft">&#160;</td><td class="mdescRight">删除标签  <a href="#a60a273750ddad6a8e1fc4bff31957663">更多...</a><br /></td></tr>
<tr class="separator:a60a273750ddad6a8e1fc4bff31957663"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4a529e1c520646c91896982c31fef213"><td class="memItemLeft" align="right" valign="top"><a id="a4a529e1c520646c91896982c31fef213"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>Update_Tag_Name</b> (string old_Name, string new_Name)</td></tr>
<tr class="separator:a4a529e1c520646c91896982c31fef213"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7563f1b0dd16ee524be13806a483464d"><td class="memItemLeft" align="right" valign="top"><a id="a7563f1b0dd16ee524be13806a483464d"></a>
string&#160;</td><td class="memItemRight" valign="bottom"><b>Get_Tag_Comment</b> (string Tag_Name)</td></tr>
<tr class="separator:a7563f1b0dd16ee524be13806a483464d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6b0902638f8dede6814f467feb789471"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_my_d_l_l_1_1_my_sqlite.html#a6b0902638f8dede6814f467feb789471">Tag_Is_Exist</a> (string Tag_Name)</td></tr>
<tr class="memdesc:a6b0902638f8dede6814f467feb789471"><td class="mdescLeft">&#160;</td><td class="mdescRight">检测标签是否存在。存在则返回1，不存在则返回0。  <a href="#a6b0902638f8dede6814f467feb789471">更多...</a><br /></td></tr>
<tr class="separator:a6b0902638f8dede6814f467feb789471"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a724f99b2f828137b14ebd46bf1e4bd30"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_my_d_l_l_1_1_my_sqlite.html#a724f99b2f828137b14ebd46bf1e4bd30">Add_Map_Target_Tag</a> (string Target_Name, string Tag_Name)</td></tr>
<tr class="memdesc:a724f99b2f828137b14ebd46bf1e4bd30"><td class="mdescLeft">&#160;</td><td class="mdescRight">添加“Target-标签”关系  <a href="#a724f99b2f828137b14ebd46bf1e4bd30">更多...</a><br /></td></tr>
<tr class="separator:a724f99b2f828137b14ebd46bf1e4bd30"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9f15a1fd45cb77dc3ccfeadd1e073474"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_my_d_l_l_1_1_my_sqlite.html#a9f15a1fd45cb77dc3ccfeadd1e073474">Delete_Map_Target_Tag</a> (string Target_Name, string Tag_Name)</td></tr>
<tr class="memdesc:a9f15a1fd45cb77dc3ccfeadd1e073474"><td class="mdescLeft">&#160;</td><td class="mdescRight">删除“Target-标签”关系。Target、标签或者映射关系不存在都会返回0。  <a href="#a9f15a1fd45cb77dc3ccfeadd1e073474">更多...</a><br /></td></tr>
<tr class="separator:a9f15a1fd45cb77dc3ccfeadd1e073474"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a194221882f1e20ae04188d404d3fbbd6"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_my_d_l_l_1_1_my_sqlite.html#a194221882f1e20ae04188d404d3fbbd6">Add_Map_Tag_Tag</a> (string Parent_Tag, string Child_Tag)</td></tr>
<tr class="memdesc:a194221882f1e20ae04188d404d3fbbd6"><td class="mdescLeft">&#160;</td><td class="mdescRight">添加“标签-标签”关系  <a href="#a194221882f1e20ae04188d404d3fbbd6">更多...</a><br /></td></tr>
<tr class="separator:a194221882f1e20ae04188d404d3fbbd6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0a54b2e58788a146022c6640d7ec765e"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_my_d_l_l_1_1_my_sqlite.html#a0a54b2e58788a146022c6640d7ec765e">Delete_Map_Tag_Tag</a> (string Parent_Name, string Child_Name)</td></tr>
<tr class="memdesc:a0a54b2e58788a146022c6640d7ec765e"><td class="mdescLeft">&#160;</td><td class="mdescRight">删除“标签-标签”关系  <a href="#a0a54b2e58788a146022c6640d7ec765e">更多...</a><br /></td></tr>
<tr class="separator:a0a54b2e58788a146022c6640d7ec765e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a730db05070eab838614cf3e0238285f1"><td class="memItemLeft" align="right" valign="top">List&lt; string &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_my_d_l_l_1_1_my_sqlite.html#a730db05070eab838614cf3e0238285f1">Get_Targets_By_Tag</a> (string Tag_Name, char sqlit=';')</td></tr>
<tr class="memdesc:a730db05070eab838614cf3e0238285f1"><td class="mdescLeft">&#160;</td><td class="mdescRight">返回同时包含这些标签的Target的名字。  <a href="#a730db05070eab838614cf3e0238285f1">更多...</a><br /></td></tr>
<tr class="separator:a730db05070eab838614cf3e0238285f1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaad48e1c765d8402e112a940ee5ad52b"><td class="memItemLeft" align="right" valign="top"><a id="aaad48e1c765d8402e112a940ee5ad52b"></a>
List&lt; List&lt; string &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>Find_ALL</b> ()</td></tr>
<tr class="separator:aaad48e1c765d8402e112a940ee5ad52b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a81521852d37b5a41413f3534cb66e802"><td class="memItemLeft" align="right" valign="top">List&lt; string &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_my_d_l_l_1_1_my_sqlite.html#a81521852d37b5a41413f3534cb66e802">Get_Tags_By_TargetName</a> (string Target_Name)</td></tr>
<tr class="memdesc:a81521852d37b5a41413f3534cb66e802"><td class="mdescLeft">&#160;</td><td class="mdescRight">根据目标名称获取标签列表  <a href="#a81521852d37b5a41413f3534cb66e802">更多...</a><br /></td></tr>
<tr class="separator:a81521852d37b5a41413f3534cb66e802"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public 属性</h2></td></tr>
<tr class="memitem:a60bbf241da8adf0d92b796a91afa67b6"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_my_d_l_l_1_1_my_sqlite.html#a60bbf241da8adf0d92b796a91afa67b6">DB_Path</a></td></tr>
<tr class="memdesc:a60bbf241da8adf0d92b796a91afa67b6"><td class="mdescLeft">&#160;</td><td class="mdescRight">数据库文件路径  <a href="#a60bbf241da8adf0d92b796a91afa67b6">更多...</a><br /></td></tr>
<tr class="separator:a60bbf241da8adf0d92b796a91afa67b6"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>标签数据库管理类 </p>
</div><h2 class="groupheader">成员函数说明</h2>
<a id="a194221882f1e20ae04188d404d3fbbd6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a194221882f1e20ae04188d404d3fbbd6">&#9670;&nbsp;</a></span>Add_Map_Tag_Tag()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int MyDLL.MySqlite.Add_Map_Tag_Tag </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>Parent_Tag</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>Child_Tag</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>添加“标签-标签”关系 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">Parent_Tag</td><td>父标签的名称</td></tr>
    <tr><td class="paramname">Child_Tag</td><td>子标签的名称</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd></dd></dl>

</div>
</div>
<a id="a724f99b2f828137b14ebd46bf1e4bd30"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a724f99b2f828137b14ebd46bf1e4bd30">&#9670;&nbsp;</a></span>Add_Map_Target_Tag()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int MyDLL.MySqlite.Add_Map_Target_Tag </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>Target_Name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>Tag_Name</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>添加“Target-标签”关系 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">Target_Name</td><td>Target名</td></tr>
    <tr><td class="paramname">Tag_Name</td><td>标签名</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd></dd></dl>

</div>
</div>
<a id="a7fb86a3d95ba7f52c171f681dcbe960f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7fb86a3d95ba7f52c171f681dcbe960f">&#9670;&nbsp;</a></span>Add_Tag()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int MyDLL.MySqlite.Add_Tag </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>Tag_Name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>Comment</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>添加标签 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">Tag_Name</td><td>标签名</td></tr>
    <tr><td class="paramname">Comment</td><td>备注</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd></dd></dl>

</div>
</div>
<a id="a73334dbceccbc1327d7672a47580686d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a73334dbceccbc1327d7672a47580686d">&#9670;&nbsp;</a></span>Add_Target()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int MyDLL.MySqlite.Add_Target </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>Name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>Comment</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>添加一条Target记录 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">Name</td><td>文件名。例如:"1.txt""test.sln"等</td></tr>
    <tr><td class="paramname">Comment</td><td>备注</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>1:执行成功。 0:文件名早已存在</dd></dl>

</div>
</div>
<a id="aab5ff1162f098a2a71535fb1f78f104b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aab5ff1162f098a2a71535fb1f78f104b">&#9670;&nbsp;</a></span>Clear_DB()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int MyDLL.MySqlite.Clear_DB </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>清空数据库中的全部数据 </p>
<dl class="section return"><dt>返回</dt><dd></dd></dl>

</div>
</div>
<a id="a1bdfba4f31b915c246071a52fad3d9b3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1bdfba4f31b915c246071a52fad3d9b3">&#9670;&nbsp;</a></span>Close_DB()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int MyDLL.MySqlite.Close_DB </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>关闭数据库 </p>
<dl class="section return"><dt>返回</dt><dd></dd></dl>

</div>
</div>
<a id="a082607cea44df8e6d01bc1dd14937eff"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a082607cea44df8e6d01bc1dd14937eff">&#9670;&nbsp;</a></span>Create_Open_DB()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int MyDLL.MySqlite.Create_Open_DB </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>DB_Path</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>创建并打开数据库 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">DB_Path</td><td>数据库文件路径。例子："Test.db" "E:/Test.ddd" "./EEE.DB"</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd></dd></dl>

</div>
</div>
<a id="a0a54b2e58788a146022c6640d7ec765e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0a54b2e58788a146022c6640d7ec765e">&#9670;&nbsp;</a></span>Delete_Map_Tag_Tag()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int MyDLL.MySqlite.Delete_Map_Tag_Tag </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>Parent_Name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>Child_Name</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>删除“标签-标签”关系 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">Parent_Name</td><td>父标签名字</td></tr>
    <tr><td class="paramname">Child_Name</td><td>子标签名字</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>成功返回1，标签不存在返回0</dd></dl>

</div>
</div>
<a id="a9f15a1fd45cb77dc3ccfeadd1e073474"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9f15a1fd45cb77dc3ccfeadd1e073474">&#9670;&nbsp;</a></span>Delete_Map_Target_Tag()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int MyDLL.MySqlite.Delete_Map_Target_Tag </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>Target_Name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>Tag_Name</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>删除“Target-标签”关系。Target、标签或者映射关系不存在都会返回0。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">Target_Name</td><td>Target名</td></tr>
    <tr><td class="paramname">Tag_Name</td><td>标签名</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd></dd></dl>

</div>
</div>
<a id="a60a273750ddad6a8e1fc4bff31957663"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a60a273750ddad6a8e1fc4bff31957663">&#9670;&nbsp;</a></span>Delete_Tag()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int MyDLL.MySqlite.Delete_Tag </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>Tag_Name</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>删除标签 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">Tag_Name</td><td>标签名</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>执行成功返回1。标签不存在返回0,</dd></dl>

</div>
</div>
<a id="a3ac3db3759b3a0739ac2a80d9aa81b67"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3ac3db3759b3a0739ac2a80d9aa81b67">&#9670;&nbsp;</a></span>Delete_Target_by_Name()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int MyDLL.MySqlite.Delete_Target_by_Name </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>Name</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>删除一条Target记录 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">Name</td><td>标签名</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd></dd></dl>

</div>
</div>
<a id="a81521852d37b5a41413f3534cb66e802"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a81521852d37b5a41413f3534cb66e802">&#9670;&nbsp;</a></span>Get_Tags_By_TargetName()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">List&lt;string&gt; MyDLL.MySqlite.Get_Tags_By_TargetName </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>Target_Name</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>根据目标名称获取标签列表 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">Target_Name</td><td>标签名称</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd></dd></dl>

</div>
</div>
<a id="a730db05070eab838614cf3e0238285f1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a730db05070eab838614cf3e0238285f1">&#9670;&nbsp;</a></span>Get_Targets_By_Tag()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">List&lt;string&gt; MyDLL.MySqlite.Get_Targets_By_Tag </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>Tag_Name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char&#160;</td>
          <td class="paramname"><em>sqlit</em> = <code>';'</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>返回同时包含这些标签的Target的名字。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">Tag_Name</td><td>标签搜索句</td></tr>
    <tr><td class="paramname">sqlit</td><td>搜索句中的 标签分隔符</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>符合条件的多个Target名</dd></dl>

</div>
</div>
<a id="aca7aa8b0f7f5889ee30312777e5e0be8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aca7aa8b0f7f5889ee30312777e5e0be8">&#9670;&nbsp;</a></span>Open_DB()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int MyDLL.MySqlite.Open_DB </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>DB_Path</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>打开数据库 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">DB_Path</td><td>数据库文件路径。例子："Test.db" "E:/Test.ddd" "./EEE.DB"</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd></dd></dl>

</div>
</div>
<a id="a6b0902638f8dede6814f467feb789471"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6b0902638f8dede6814f467feb789471">&#9670;&nbsp;</a></span>Tag_Is_Exist()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int MyDLL.MySqlite.Tag_Is_Exist </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>Tag_Name</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>检测标签是否存在。存在则返回1，不存在则返回0。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">Tag_Name</td><td>标签名</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd></dd></dl>

</div>
</div>
<h2 class="groupheader">类成员变量说明</h2>
<a id="a60bbf241da8adf0d92b796a91afa67b6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a60bbf241da8adf0d92b796a91afa67b6">&#9670;&nbsp;</a></span>DB_Path</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">string MyDLL.MySqlite.DB_Path</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>数据库文件路径 </p>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者 &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.15
</small></address>
</body>
</html>
